<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core">
    <h:head>
        <title>Facelet Title</title>
    </h:head>
    <h:body>
        <ui:composition>
            <h:form>
                <div class="phai">
                    <p>THÔNG TIN CHI TIẾT YÊU CẦU</p>
                    <div class="txt_detail">
                        <div class="faqcontent">
                            <ui:repeat value="#{userComplaintRequest.listComp}" var="b">
                                <div class="reqheader">
                                    <div class="reqdate"> #{b.datePost} </div>
                                    <div class="nr reqtitle"> #{b.title} </div>
                                </div>
                                <div class="req_content">
                                    <div>
                                        #{b.description}
                                    </div>
                                </div>
                            </ui:repeat>
                        </div>
                        <div class="reply_area">
                            <div class="reheader bgccc"> Thông tin phản hồi</div>
                            <div class="nl textnl" style="width: 100%;">
                                <h:inputTextarea cols="90" rows="7" value="#{userComplaintRequest.description}">
                                </h:inputTextarea>
                                <div style="margin-bottom: 10px; width: 100%; margin-top: 10px;" class="nl">
                                    <h:commandButton styleClass="button" action="#{userComplaintRequest.replyComplaint()}" value="Submit">
                                        <f:param name="cID" value="#{b.c_ID}"></f:param>
                                        <f:param name="eID" value="#{b.e_ID}"></f:param>
                                    </h:commandButton>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </h:form>
        </ui:composition>
    </h:body>
</html>

